package com.mi.simplefactory;

public class Family {

	private Car car;
	
	public Family(Car car) {
		super();
		this.car = car;
	}
	
	
	public void goOut(){
		System.out.println("----全家自驾出游--------");
		car.run();
		System.out.println("玩得开心咯！");
	}
	
}
